StrictlyNegativeInt

@Serializable(with = StrictlyNegativeIntSerializer::class)
@SinceKotoolsTypes(version = "1.1")
value class StrictlyNegativeInt : NonZeroInt, NegativeInt

Representation of negative integers excluding zero.

Types

Link copied to clipboard
object Companion

Contains declarations for holding or building a StrictlyNegativeInt.

Functions

Link copied to clipboard
@SinceKotoolsTypes(version = "4.0")
open override fun toInt(): Int

Returns this integer as an Int.

Link copied to clipboard
@SinceKotoolsTypes(version = "4.0")
open override fun toString(): String

Returns the string representation of this integer.